import request from '../utils/request'
import requestexcel from '../utils/request-excel'

export function findUserList(current,size,userVO) {
  return request({
    url: '/user/findUserList',
    method: 'POST',
    params :{
        current,
        size
    },
    data: userVO
  })  
}

/**
 * 导出用户Excel
 * @param userVO
 */
export function exportUserInfo(userVO) {
  return requestexcel({
    url: '/user/export',
    method: 'post',
    data: userVO,
    responseType: "blob"
  })
}
